#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QSqlQuery>

namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = nullptr);
    ~Widget();

private:
    Ui::Widget *ui;
    void showTableString(const QStringList table);
    void connectAllSignals();
    QSqlDatabase db;
public slots:
    void OpenExcel();
    void SaveExcel();
    void OpenSQL();
};

#endif // WIDGET_H
